package buttons;

import java.awt.event.ActionEvent;
import javax.swing.JRadioButton;

@SuppressWarnings("serial")
public abstract class AbstractCommandButton<T> extends JRadioButton
{

    public AbstractCommandButton(String label, boolean booleanVal)
    {
        super(label, booleanVal);
    }

    public AbstractCommandButton(String label, boolean booleanVal, T target)
    {
        super(label, booleanVal);
    }

    abstract public void actionPerformed(ActionEvent e, T target);
}
